using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sio.Mdm.Entities;

namespace Sio.Mdm.Types.Database
{
    [Entities.Entity(
            "VlogeService",
            TableName = "VLOGE"
        )]
  public interface Vloga : UporabniskiRacun
    {
        [PrimaryKey(Name = "VLOGA_ID", GeneratorName="GEN_VLOGE")]
        int VlogaId { get; set; }

        /*
        [PrimaryKey(Name = "IDM_STEVILKA")]
        int IDMStevilka { get; set; }
         */
  
        [Field(Name = "IME")]
        string Ime { get; set; }

        [Field(Name = "PRIIMEK")]
        string Priimek { get; set; }

        [Field(Name = "SPOL")]
        int Spol { get; set; }

        [Field(Name = "UPORABNISKO_IME")]
        string UporabniskoIme { get; set; }

        [Field(Name = "GESLO")]
        string Geslo { get; set; }

        [Field(Name = "TIP_VLOGE_ID")]
        int TipVlogeId { get; set; }

        [Field(Name = "ZACETEK")]
        DateTime Zacetek { get; set; }

        [Field(Name = "KONEC")]
        DateTime Konec { get; set; }

        [Field(Name = "STATUS")]
        int Status { get; set; }

        [Field(Name = "ORGANIZACIJA_ID")]
        int OrganizacijaId { get; set; }
    }

}
